-- GENERATED SPELL FOR [Enraged Feral Scar] --


function spell0_5295(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_5295', 639, 1)
end

function Sorts_5295(pUnit, Event)
local choix_sorts_5295 = math.random(0, 0)
if choix_sorts_5295 == 0 then
pUnit:RegisterEvent('spell0_5295', 1, 1)
end
end

function mob5295_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5295', math.random(1500, 3000), 1)
end

function mob5295_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5295_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5295_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5295, 1, 'mob5295_Action')
RegisterUnitEvent(5295, 2, 'mob5295_Leave')
RegisterUnitEvent(5295, 3, 'mob5295_Kill')
RegisterUnitEvent(5295, 4, 'mob5295_Die')
